﻿using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Linq;
using System.Text;

namespace ClickNET.Imaging
{
    public class Image
    {
        public Int64 ID { get; set; }
        public string Title { get; set; }
        public string FileName { get; set; }

        public void Load(SQLiteDataReader reader)
        {
            this.ID = (Int64)reader.GetValue(0);
            this.Title = reader.GetValue(1) as string;
            this.FileName = reader.GetValue(2) as string;
        }
    }
}
